{temp('html/recruit/pc/head')}
</head>
<body>
	<!--容器-->
	<div class="wraper">
		<!--头部-->
		<div class="w_bai h_100 bc_137ABF dis_inline t_c">
			<!--详细-->
			<div class="w_700 auto_0">
				<!--logo-->
				<div class="f_l t_m15"><a href="{$_url}"><img src="{$style}/images/head_logo.png"></a></div>
				<!--logo结束-->
				<!--提示字-->
				<div class="f_l l_m10 t_m30"><img src="{$style}/images/head_zi.png"></div>
				<!--提示字结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--头部结束-->

		<!--主体内容-->
		<div class="w_bai dis_inline t_c">
			<!--详细-->
			<div class="w_700 auto_0">
				<!--提示字-->
				<div class="t_m25 c_1379BF t_l">
					<span class="f_s22">欢迎企业注册</span>
					<span class="l_m10">已有思凯账号，</span>
					<span class="point" id="tishi"><a href="{$_url}/?act=firm&met=denglus">直接登录 >></a></span>
				</div>
				<!--提示字结束-->
				<!--内容-->
				<div class="w_700 t_m10 bor_C6 bc_FFF t_l">
					<!--请选择-->
					<div class="t_m40 dis_inline">
						<div class="f_l w_180">&nbsp;</div>
						<div class="f_l  t_m8 c_656565">请选择</div>
						<div class="f_l" style="margin-left:5px!important;margin-left:10px">
							<div class="select-outer select-wh300 bc_F5F5F5">
								<div class="select-inner bc_F5F5F5">
									<select name="" id="xuanze" class="select-h bc_F5F5F5" onChange="show(this)">
										<option value="1" id="quan">全职</option>
										<option value="2" id="jian">兼职</option>
									</select>
								</div>
							</div>
						</div>
					</div>
					<!--请选择结束-->
					<!--用户名-->
					<div class="dis_inline t_m40">
						<div class="f_l w_180">&nbsp;</div>
						<div class="f_l t_m8 c_656565">用户名</div>
						<div class="f_l l_m5">
							<input type="text"  id="names" name="names" value="" class="inp" placeholder="由6-33个字母加数字的字符组成，首位必须是字母 "/>
						</div>
					</div>
					<!--手机号结束-->
					<!--密码-->
					<div class="dis_inline t_m15">
						<div class="f_l w_190">&nbsp;</div>
						<div class="f_l t_m8 l_m4 c_656565">密码</div>
						<div class="f_l l_m5">
							<input type="password" id="pass" value="" class="inp" />
						</div>
					</div>
					<!--密码结束-->
					<!--确认密码-->
					<div class="dis_inline t_m15">
						<div class="f_l w_150">&nbsp;</div>
						<div class="f_l t_m8 l_m16 c_656565">确认密码</div>
						<div class="f_l l_m5">
							<input type="password" value="" id="npass" class="inp" />
						</div>
					</div>
					<!--确认密码结束-->
					<!--分割线-->
					<div class="bor1_E0E0E0 bor_di_none t_m30"></div>
					<!--分割线结束-->
					<!--全职内容-->
					<div id="quanzhi" style="display:block">
						<!--企业全称-->
						<div class="t_m30 dis_inline">
							<div class="f_l w_150">&nbsp;</div>
							<div class="f_l l_m16 t_m8 c_656565">企业全称</div>
							<div class="f_l l_m5">
								<input type="text" class="inp" name="qy_name" placeholder="请输入与营业执照一致的名称" />
							</div>
						</div>
						<!--企业全称结束-->
						<!--所属行业-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_150">&nbsp;</div>
							<div class="f_l l_m16 t_m8 c_656565">所属行业</div>
							<div class="f_l" style="margin-left:5px!important;margin-left:10px">
								<div class="select-outer select-wh300 bc_F5F5F5">
									<div class="select-inner bc_F5F5F5">
										<select id="sshy" name="sshy" class="select-h bc_F5F5F5">
											<option selected="selected">请选择公司所属行业</option>
											{if(@$hy)}
											{foreach($hy as $k=>$v)}
											<option value="{$v['id']}">{$v['name']}</option>
											{/foreach}
											{/if}
										</select>
									</div>
								</div>
							</div>
						</div>
						<!--所属行业结束-->
						<!--公司性质-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_150">&nbsp;</div>
							<div class="f_l l_m16 t_m8 c_656565">公司性质</div>
							<div class="f_l" style="margin-left:5px!important;margin-left:10px">
								<div class="select-outer select-wh300 bc_F5F5F5">
									<div class="select-inner bc_F5F5F5">
										<select id="qyxz" name="qyxz" class="select-h bc_F5F5F5">
											<option selected="selected">请选择公司性质</option>
											{if(@$ss)}
											{foreach($ss as $k=>$v)}
											<option>{$v}</option>
											{/foreach}
											{/if}
										</select>
									</div>
								</div>
							</div>
						</div>
						<!--公司性质结束-->
						<!--企业所在地-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_135">&nbsp;</div>
							<div class="f_l t_m8 l_m18">
								<span class="c_656565">企业所在地</span>
							</div>
							<div class="f_l" style="margin-left:5px!important;margin-left:9px">
								<div class="select-outer select-wh95 f_l">
									<div class="select-inner">
										<select id="sheng" name="sheng" onChange="gbdz(this.value,'shi')" class="select-h">
											<option value="0">请选择</option>
												{if(@$ssq)}
												{foreach($ssq as $k=>$v)}
											<option value="{$v['area_id']}">{$v['area_name']}</option>
												{/foreach}
												{/if}
										</select>
									</div>
								</div>
								<div class="select-outer select-wh95 f_l l_m5">
									<div class="select-inner">
										<select id="shi" name="shi"  onchange="gbdz(this.value,'xian')" class="select-h">
											<option value="0">请选择</option>
										</select>
									</div>
								</div>
								<div class="select-outer select-wh95 f_l l_m5">
									<div class="select-inner">
										<select id="xian" name="qu" class="select-h">
											<option value="0">请选择</option>
										</select>
									</div>
								</div>
								<script>
								function gbdz(id,nn){
									$.post("{$_url}/?act=get_diqu",{id:id},function(data){
										$("#"+nn).html(data);
										if(nn == 'shi'){
											$("#xian").html('<option value="0">请选择</option>');
										}
									});
								}
							</script>
							</div>
						</div>
						<!--现居住地结束-->
						<!--分割线-->
						<div class="bor1_E0E0E0 bor_di_none t_m30"></div>
						<!--分割线结束-->
						<!--联系人-->
						<div class="t_m30 dis_inline">
							<div class="f_l w_150">&nbsp;</div>
							<div class="f_l l_m30 t_m8 c_656565">联系人</div>
							<div class="f_l l_m5">
								<input type="text" value="" name="linkman" class="inp" />
							</div>
						</div>
						<!--联系人结束-->
						<!--手机号码-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_150">&nbsp;</div>
							<div class="f_l l_m16 t_m8 c_656565">手机号码</div>
							<div class="f_l l_m5">
								<input type="text" value="" name="phone" class="inp" />
							</div>
						</div>
						<!--手机号码结束-->
						<!--固定电话-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_150">&nbsp;</div>
							<div class="f_l l_m16 t_m8 c_656565">固定电话</div>
							<div class="f_l" style="margin-left:5px!important;margin-left:10px">
								<div class="f_l">
									<input type="text" class="inp w_80" id="gdqh" placeholder="0371" />
								</div>
								<!--连接线-->
								<div class="f_l l_m5 w_15 t_m17">
									<div class="bor1_E0E0E0 bor_di_none"></div>
								</div>
								<!--连接线结束-->
								<div class="f_l l_m5">
									<input type="text" class="inp w_110" id="gddh" placeholder="电话号码" />
								</div>
							</div>
						</div>
						<!--固定电话结束-->
						<!--公司地址-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_150">&nbsp;</div>
							<div class="f_l l_m16 t_m8 c_656565">公司地址</div>
							<div class="f_l l_m5">
								<input type="text" value="" name="address" class="inp" />
							</div>
						</div>
						<!--公司地址结束-->
						<!--邮箱-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_190">&nbsp;</div>
							<div class="f_l l_m4 t_m8 c_656565">邮箱</div>
							<div class="f_l l_m5">
								<input type="text" value="" name="email"  class="inp" />
							</div>
						</div>
						<!--邮箱结束-->
						<!--分割线-->
						<div class="bor1_E0E0E0 bor_di_none t_m30"></div>
						<!--分割线结束-->
						<!--营业执照注册号-->
						<div class="t_m30 dis_inline">
							<div class="f_l w_120">&nbsp;</div>
							<div class="f_l l_m4 t_m8 c_656565">营业执照注册号</div>
							<div class="f_l l_m5">
								<input type="text" value="" name="yyzzh" class="inp" />
							</div>
						</div>
						<!--营业执照注册号结束-->
						<!--营业执照附件-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_120">&nbsp;</div>
							<div class="f_l l_m18 t_m8 c_656565">营业执照附件</div>
							<div class="f_l l_m5">
								<input type="text" value="" id="ii" name="ii" class="inp_msg bc_F5F5F5" />
								<input type="hidden" id="gzzmsmj" name="yimg" value="" />
							</div>
							<div class="f_l l_m10 w_80 h_35 bc_E7E7E7 c_656565 t_c l_h35 point" onClick="sctp('gzzmsmj','ii')">...浏览</div>
							<script type="text/javascript">
							function sctp(id,mc){
								art.dialog.open('{$_url}/?act=upfile&id='+id+'&type=1&mc='+mc,{title:'',lock:true},false);
							}
			</script>
						</div>
						<!--营业执照附件结束-->
						<!--组织机构代码-->
						<!-- <div class="t_m15 dis_inline">
							<div class="f_l w_120">&nbsp;</div>
							<div class="f_l l_m18 t_m8 c_656565">组织机构代码</div>
							<div class="f_l l_m5">
								<input type="text" value="" name="zzjg" class="inp" />
							</div>
						</div> -->
						<!--组织机构代码结束-->
						<!--验证码-->
						<div class="t_m15 dis_inline">
							<div class="f_l w_180">&nbsp;</div>
							<div class="f_l t_m8 c_656565">验证码</div>
							<div class="f_l l_m5">
								<input type="text" id="yzm" name="yzm" value="" class="inp w_100" />
							</div>
							<div class="f_l l_m10">
								<img id="yanzhengma" src="{$_url}/yzm.php" onClick="shuaxin()" class="point">
								<script type="text/javascript">
									function shuaxin(){
										document.getElementById("yanzhengma").src ="{$_url}/yzm.php";
									}
								</script>
							</div>
						</div>
						<!--验证码结束-->
						<!--分割线-->
						<div class="bor1_E0E0E0 bor_di_none t_m30"></div>
						<!--分割线结束-->
						<!--确认按钮-->
					<div class="t_m30 dis_inline w_bai">
						<div class="f_l w_210">&nbsp;</div>
						<div class="f_l l_m15 w_190 h_35 l_h35 bc_E16400 c_FFF t_c point" onClick="zhuce()" 
							style="margin-left:18px!important;margin-left:22px;">
							确认并同意以下条款
						</div>
					</div>
					<!--已经阅读服务声明-->
					<div class="t_m10 dis_inline w_bai b_m50">
						<div class="f_l w_210">&nbsp;</div>
						<div class="f_l l_m18" style="margin-top:4px!important;margin-top:1px">
						<input type="checkbox" onClick="if(this.checked){this.value=1;}else{this.value=0;}" name="tytk" checked="checked" id="tytk" value="1" />
						</div>
						<div class="f_l l_m5">
							<span class="c_656565">我已阅读</span>
							<span class="c_E06300 point">服务声明</span>
						</div>
					</div>
					<!--已经阅读服务声明结束-->
					</div>
					<!--全职内容结束-->
					<!--兼职内容-->
					<div id="jianzhi" style="display:none">
						<!--本人拿身份证正面-->
						<div class="w_bai t_m20 dis_inline">
							<div class="f_l w_80">&nbsp;</div>
							<div class="f_l l_m30 t_m8 c_656565">本人拿身份证正面</div>
							<div class="f_l l_m5">
								<input type="text" value="" id="brsnsfz" name="brsnsfz" class="inp_msg bc_F5F5F5" />
								<input type="hidden" id="sc" name="sc" value="" />
							</div>
							<div class="f_l l_m10 w_80 h_35 bc_E7E7E7 c_656565 t_c l_h35 point" onClick="sctp('sc','brsnsfz')">...浏览</div>
						</div>
						<!--本人拿身份证正面结束-->
						<!--提示字-->
						<div class="w_bai dis_inline f_s12">
							<div class="f_l w_200">&nbsp;</div>
							<div class="f_l l_m30 t_m8 c_999">
								五官清晰可见，证件全部信息清晰无遮挡，完整露出双手手臂
							</div>
						</div>
						<!--提示字结束-->
						<!--身份证正面-->
						<div class="w_bai t_m20 dis_inline">
							<div class="f_l w_145">&nbsp;</div>
							<div class="f_l l_m7 t_m8 c_656565">身份证正面</div>
							<div class="f_l l_m5">
								<input type="text" value="" id="sfzzm" name="sfzzm" class="inp_msg bc_F5F5F5" />
								<input type="hidden" id="zm" name="zm" value="" />
							</div>
							<div class="f_l l_m10 w_80 h_35 bc_E7E7E7 c_656565 t_c l_h35 point" onClick="sctp('zm','sfzzm')">...浏览</div>
						</div>
						<!--身份证正面结束-->
						<!--身份证反面-->
						<div class="w_bai t_m20 dis_inline">
							<div class="f_l w_145">&nbsp;</div>
							<div class="f_l l_m7 t_m8 c_656565">身份证反面</div>
							<div class="f_l l_m5">
								<input type="text" value="" id="sfzfm" name="sfzfm" class="inp_msg bc_F5F5F5" />
								<input type="hidden" id="fm" name="fm" value="" />
							</div>
							<div class="f_l l_m10 w_80 h_35 bc_E7E7E7 c_656565 t_c l_h35 point" onClick="sctp('fm','sfzfm')">...浏览</div>
						</div>
						<!--身份证反面结束-->
						<!--验证码-->
						<div class="w_bai t_m15 dis_inline">
							<div class="f_l w_180">&nbsp;</div>
							<div class="f_l t_m8 c_656565">验证码</div>
							<div class="f_l l_m5">
								<input type="text" class="inp w_100" id="yzms" value="" />
							</div>
							<div class="f_l l_m10">
								<img id="yanzhengmas" src="{$_url}/yzm.php" onClick="shuaxins()" class="point">
								<script type="text/javascript">
									function shuaxins(){
										document.getElementById("yanzhengmas").src ="{$_url}/yzm.php";
									}
								</script>
							</div>
						</div>
						<!--验证码结束-->
						<!--缴纳保证金-->
						<!--缴纳保证金结束-->
						<!--确认按钮-->
					<div class="t_m30 dis_inline w_bai">
						<div class="f_l w_210">&nbsp;</div>
						<div class="f_l l_m15 w_190 h_35 l_h35 bc_E16400 c_FFF t_c point" onClick="zhuces()" 
							style="margin-left:18px!important;margin-left:22px;">
							缴纳保证金
						</div>
					</div>
					<!--已经阅读服务声明-->
					<div class="t_m10 dis_inline w_bai b_m50">
						<div class="f_l w_210">&nbsp;</div>
						<div class="f_l l_m18" style="margin-top:4px!important;margin-top:1px">
						<input type="checkbox" onClick="if(this.checked){this.value=1;}else{this.value=0;}" name="tytk" checked="checked" id="tytk" value="1" />
						</div>
						<div class="f_l l_m5">
							<span class="c_656565">我已阅读</span>
							<span class="c_E06300 point">服务声明</span>
						</div>
					</div>
					<!--已经阅读服务声明结束-->
					</div>
					<!--兼职内容结束-->
					<script type="text/javascript">
                        	function zhuce(){
                        		var name = $("#names").val();
                        		if(name==''){ alert('请输入用户名!');return;}
                        		var pass = $("#pass").val();
                        		if(pass==''){ alert('请输入密码!');return;}
                        		var npass = $("#npass").val();
                        		if(pass != npass){ alert('两次输入的密码不一致!');return;}
                        		var qy_name = $("input[name='qy_name']").val();
                        		if(qy_name==''){ alert('请输入企业名称');return;}
                        		var sshy = $("#sshy option:selected").val();
                        		if(sshy == ''){ alert('请选择所属行业!');return;}
                        		var qyxz = $("#qyxz option:selected").val();
                        		if(qyxz == ''){ alert('请选择企业性质!');return;}
                        		var sheng = $("#sheng option:selected").val(); 
                        		if(sheng == ''){ alert('请选择公司所在地!');return;}
                        		var shi = $("#shi option:selected").val(); 
                        		if(shi == ''){ alert('请选择公司所在地!');return;}
                        		var qu = $("#xian option:selected").val(); 
                        		if(qu == ''){ alert('请选择公司所在地!');return;}
                        		var linkman = $("input[name='linkman']").val();
                        		if(linkman == ''){ alert('请填写联系人!');return;}
                        		var phone = $("input[name='phone']").val();
                        		if(phone == ''){ alert('请填写联系方式!');return;}
                        		var address = $("input[name='address']").val();
                        		if(address == ''){ alert('请填写联系地址!');return;}
                        		var email = $("input[name='email']").val();
                        		if(email == ''){ alert('请填写联系方式邮箱!');return;}
                        		var yyzzh = $("input[name='yyzzh']").val();
                        		if(yyzzh == ''){ alert('请填写营业执照号!');return;}
                        		/* var zzjg = $("input[name='zzjg']").val();
                        		if(zzjg == ''){ alert('请填写组织机构!');return;} */
                        		var yimg = $("input[name='yimg']").val();
                        		if(yimg == ''){ alert('请上传营业执照附件!');return;}
                        		var gdqh = $("#gdqh").val();
                        		var gddh = $("#gddh").val();
                        		var yzm = $("#yzm").val();
                        		var tytk = $("input[name='tytk']").val();
                        		if(tytk != '1'){ alert('请同意条款!');return;}
                        		$.post('{$_url}/?act=firm&met=qyzc',{name:name,pass:pass,npass:npass,
                        			qy_name:qy_name,sshy:sshy,qyxz:qyxz,sheng:sheng,shi:shi,qu:qu,
                        			linkman:linkman,phone:phone,address:address,email:email,yyzzh:yyzzh,
                        			yimg:yimg,/* zzjg:zzjg, */tytk:tytk,gdqh:gdqh,gddh:gddh,yzm:yzm},function(data){
	                        				if(data == '注册成功!'){
	                        					top.location.href="{$_url}/?act=firm&met=denglus";
	                        				}else{
	                        					alert(data);
	                        				}
                        				});
                        	}
                        	
                        	function zhuces(){
                        		var name = $("#names").val();
                        		if(name==''){ alert('请输入用户名!');return;}
                        		var pass = $("#pass").val();
                        		if(pass==''){ alert('请输入密码!');return;}
                        		var npass = $("#npass").val();
                        		if(pass != npass){ alert('两次输入的密码不一致!');return;}
                        		var sc = $("input[name='sc']").val();
                        		if(sc == ''){ alert('请上传本人手持身份证!');return;}
                        		var zm = $("input[name='zm']").val();
                        		if(zm == ''){ alert('请上传身份证正面!');return;}
                        		var fm = $("input[name='fm']").val();
                        		if(fm == ''){ alert('请上传身份证反面!');return;}
                        		var tytk = $("input[name='tytk']").val();
                        		if(tytk != '1'){ alert('请同意条款!');return;}
                        		var yzm = $("#yzms").val();
                        		$.post('{$_url}/?act=firm&met=qyzcs',{name:name,pass:pass,npass:npass,
                        			sc:sc,zm:zm,fm:fm,yzm:yzm,tytk:tytk},function(data){
	                        				if(data == '注册成功!'){
	                        					top.location.href="{$_url}/?act=firm&met=bzjzf&lx=2";
	                        				}else{
	                        					alert(data);
	                        				}
                        				});
                        	}
                        </script>
					<!--确认按钮结束-->
				</div>
				<!--内容结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
		<script type="text/javascript">
			function show(obj){
				var opt = obj.options[obj.selectedIndex];
				var quanzhi = document.getElementById('quanzhi');
				var jianzhi = document.getElementById('jianzhi');
				if (opt.text == "全职") {
					quanzhi.style.display="block";
					jianzhi.style.display="none";
				}else{
					quanzhi.style.display="none";
					jianzhi.style.display="block";
				}
			}
		</script>
{temp('html/recruit/pc/foot')}